<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!-- 1.导入标签库 -->
<%@taglib uri="http://www.xsdz.com/mytaglib" prefix="xsdz"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>自定义标签－date</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">


</head>

<body>
	This is my JSP page.
	<br>
	<!-- 2.使用标签 -->
	<xsdz:fragment>

		<jsp:attribute name="fragment">
    
    <xsdz:hellowWord />
    
    </jsp:attribute>

	</xsdz:fragment>

	<xsdz:fragment>

		<jsp:attribute name="fragment">
    
    ${pageContext.request.remoteAddr}
    
    </jsp:attribute>

	</xsdz:fragment>
</body>
</html>
